package com.atguigu.chapter11

object ZipDemo01 {
	def main(args: Array[String]): Unit = {
		// 拉链
		val list1 = List(1, 2, 3)
		val list2 = List(4, 5, 6)
		val list3 = list1.zip(list2) // (1,4),(2,5),(3,6)
		println("list3=" + list3)

	}
}
